package com.common;

import java.util.List;

/**
 * Created by lvjianqing on 2017/10/7.
 * 快递查询结果
 */
public class Express extends Print{
    public Express(Boolean success, String reason) {
        this.success = success;
        this.reason = reason;
    }

    private String logisticCode;//物流运单号
    private String code;//快递公司编码
    private String company;//快递公司名称
    private Boolean success;//成功与否
    private String reason;//失败原因
    private String state;//物流状态：2-在途中,3-签收,4-问题件
    private List<Trace> traces;//具体进度

    public String getLogisticCode() {
        return logisticCode;
    }

    public void setLogisticCode(String logisticCode) {
        this.logisticCode = logisticCode;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public List<Trace> getTraces() {
        return traces;
    }

    public void setTraces(List<Trace> traces) {
        this.traces = traces;
    }
}
